const path = require("path")

module.exports = {
    mode:'production',
    entry:'./src/index.ts',
    output:{
        path:path.join(__dirname, 'dist'),
        filename:'index.js'
    },
    module:{
        rules:[
            {
                test:/\.ts$/g,
                use:'ts-loader'
            }
        ]
    }
}